package com.burstly.lib.component.networkcomponent.jumptap;

import android.app.Activity;
import android.os.Bundle;
import android.view.ViewGroup.LayoutParams;
import com.burstly.lib.BurstlySdk;
import com.jumptap.adtag.JtAdInterstitial;

public class JumptapActivity extends Activity
{
  static boolean sIsShowingNow;
  static Activity sJumptapActivity;
  private JumptapAdaptor mAdaptor;

  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    BurstlySdk.init(this);
    this.mAdaptor = JumptapAdaptor.sJumptapAdaptor;
    JumptapAdaptor.sJumptapAdaptor = null;
    if (this.mAdaptor == null)
    {
      finish();
      return;
    }
    JtAdInterstitial localJtAdInterstitial = this.mAdaptor.mInterstitialView;
    this.mAdaptor.mInterstitialView = null;
    setContentView(localJtAdInterstitial, new ViewGroup.LayoutParams(-2, -2));
  }

  protected void onDestroy()
  {
    sJumptapActivity = null;
    sIsShowingNow = false;
    super.onDestroy();
  }

  protected void onResume()
  {
    sJumptapActivity = this;
    super.onResume();
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.component.networkcomponent.jumptap.JumptapActivity
 * JD-Core Version:    0.6.2
 */